﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutTimeWarning.aspx.cs" Inherits="HZ.DrugTrade.Web.OutTimeWarning" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
           <link rel="stylesheet" type="text/css" href="lib/style/global.css" />
    <script type="text/javascript" src="lib/scripts/PCASClass.js"></script>
    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">到期预警</a></li>
        </ul>
    </div>
    <div id="tabcontent">
      
        <table id="tbl" class="querylist">
            <tr>
                <td align="right">
                    <asp:Label ID="lblCmpID" runat="server" Text=" 企业ID："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtCmpID" runat="server"></asp:TextBox>
                </td>
                <td align="right">
                    <asp:Label ID="lblCmpName" runat="server" Text=" 企业名称："></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtCmpName" runat="server"></asp:TextBox>
                </td>
                <td align="center">
                    
                    <hz:HzButton ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn" />
                    
                </td>
            </tr>
            <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
        </table>

    <asp:GridView ID="gvwShowDate" runat="server" AutoGenerateColumns="False" Width="100%"
        CssClass="mainlist" EmptyDataText="暂无相关的公告信息！" 
         onrowdatabound="gvwShowDate_RowDataBound" OnRowCreated="gvwShowDate_RowCreated"   >
        <Columns>
            <asp:TemplateField HeaderText="企业ID">
                <ItemTemplate>
                    <asp:Label ID="lnlcompanyid" runat="server" Text='<%#Eval("companyid") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <%--<asp:BoundField DataField="companyid" HeaderText="企业ID" />--%>
            <asp:BoundField DataField="companyname" HeaderText="企业名称" />
            <asp:BoundField DataField="permissiondate" HeaderText="营业执照" />
            <asp:BoundField DataField="businesscertificatedate" HeaderText="许可证" />
            <asp:BoundField DataField="comendtime" HeaderText="组织机构代码的有效期" />
            <asp:BoundField DataField="permissioncheckdate" HeaderText="营业执照年检日期" />
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:Button ID="btn" runat="server" Text="禁用"  CssClass="btn"/>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <HeaderStyle HorizontalAlign="Center" />
    </asp:GridView>
    </div>
   <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    </form>
</body>
</html>
